package logo.utils;

/** Class that represents an association of two objects. */
public class Pair {
    Object car;
    Object cdr;

    public Pair(Object first, Object second) {
	car = first;
	cdr = second;
    }

    public Object first() {
	return car;
    }

    public Object second() {
	return cdr;
    }
    
    public String toString() {
	return car.toString() + ":" + cdr.toString();
    }
}
